<template>
  <div class="indexMain-container">
    <router-link to="main">
      <div class="Go-container">
        <div class="Go" @mouseover="Gohover" @mouseleave="GoNormal">
          <div class="word">
            <span>Let us Go</span>
            <span>启程</span>
          </div>
          <div class="play">
            <!--        <img src="../../assets/play.png" alt="play" width="100%">-->
            <svg t="1634372460101" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
                 p-id="3512" width="320" height="320">
              <path
                d="M512 42.666667C252.793333 42.666667 42.666667 252.793333 42.666667 512s210.126667 469.333333 469.333333 469.333333 469.333333-210.126667 469.333333-469.333333S771.206667 42.666667 512 42.666667z m196.546667 500.493333l-266.666667 176A37.333333 37.333333 0 0 1 384 688V336.033333a37.333333 37.333333 0 0 1 57.893333-31.16l266.666667 176a37.333333 37.333333 0 0 1 0 62.32z"
                fill="#5C5C66" p-id="3513"></path>
            </svg>
          </div>
        </div>
      </div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'IndexMain',
  data () {
    return {
      Goname: 'Go2'
    }
  },
  methods: {
    Gohover () {
      this.Goname = 'Gohover'
    },
    GoNormal () {
      this.Goname = 'Go2'
    }
  }
}
</script>

<style scoped>

.indexMain-container {
  width: 100%;
  height: 704px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.Go-container{
  width: 1007px;
  height: 355px;
  background-color: transparent;
  border-radius: 10px;
  transition: all .1s ease-out;
  position: relative;
}

.Go {
  width: 1007px;
  height: 355px;
  border-radius: 10px;
  background-color: #92e780;
  opacity: .9;
  display: flex;
  font-size: 138px;
  cursor: pointer;
  /*z-index: 2;*/
  position: absolute;
  transition: all .1s ease-out;
}

.Go-container:hover .Go{
  transform: translate(10px,-10px);
  opacity: 1;
  background-color: #87D977;
}
.Go-container:hover{
  background-color: #4c45dc;
}
.Go-container:active .Go{
  background-color: #75b969;
}
.Go-container:hover .Go span{
  color: #171717;
}

.word {
  width: 683px;
  height: 100%;
  padding-left: 20px;
  box-sizing: border-box;
}

.word span {
  display: block;
  text-align: left;
  transition: all .1s ease-out;
}

.play {
  width: 306px;
  height: 100%;
  display: flex;
  align-items: center;
}

</style>
